package com.hjm.friend.domain.user.dto;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class UserSubmitDTO {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long submitId;        // 提交记录id

    @JsonSerialize(using = ToStringSerializer.class)
    private Long examId;         // 竞赛id

    @JsonSerialize(using = ToStringSerializer.class)
    private Long questionId;      // 题目id

    private Integer programType; // 编程语言类型（0 java 1 C++）

    private String userCode;     // 用户提交的代码
}
